<?

if(count($this->Pages))
{

    foreach($this->Pages as $Item)
    {
        $editLink = $this->baseUrl('page/edit/edit/id/' . $Item['ID']) ;
        ?>
<div id="<?=$Item['ID'] ?>"	style="margin: 5px; font-weight: bold; width: 100%; height: 15px; color: #777777; font-size: 12px; padding-top: 5px">
	<input style="margin-left: 5px; margin-right: 5px" type="checkbox" 	class="ids" name="ids[]" value="<?= $Item['ID'] ?>" /> 
	<a href="<?=$editLink ?>" class="glowLink"><?= $Item['Title'] ?></a>
</div>

        <?php
    }
}
else
{
?>

<h2>Страницы не найдены</h2>

<?php 
}
?>